package lab02.test15;

public class Test15 {
    public static void main(String[] args) {
        Graduate zhangsan=new Graduate();
        zhangsan.pay=10000;
        zhangsan.fee=9000;
        System.out.println(zhangsan.getFee());

        if(zhangsan.getPay()-zhangsan.getFee()<2000){
            System.out.println("you need a loan!");
        }else {
            System.out.println("your income is enough!");
        }
        zhangsan.getFee();
        zhangsan.getPay();
    }
}
